package com.ruoyi.system.domain.dto;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.system.api.model.UserShop;

public class ShopDto {
    /** $column.columnComment */
    private Long shopId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String shopName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String shopCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long companyId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String mnappid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String secret;
    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopCode() {
        return shopCode;
    }

    public void setShopCode(String shopCode) {
        this.shopCode = shopCode;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }
    public void setMnappid(String mnappid)
    {
        this.mnappid = mnappid;
    }

    public String getMnappid()
    {
        return mnappid;
    }
    public void setSecret(String secret)
    {
        this.secret = secret;
    }

    public String getSecret()
    {
        return secret;
    }

    public UserShop toUserShop(){
        UserShop us = new UserShop();
        us.setShopId(this.shopId);
        us.setMnappid(this.mnappid);
        us.setSecret(this.secret);
        us.setShopCode(this.shopCode);
        us.setShopName(this.shopName);
        return us;
    }
}
